const webpack = require("webpack")
module.exports = {
    devServer: {
        proxy: {
            "/users": {
                target: "http://127.0.0.1:3000",
                changeOrigin: true
            },
            "/admin": {
                target: "http://127.0.0.1:3000",
                changeOrigin: true
            },
        }
    },
    configureWebpack: {
        plugins:[
            new webpack.ProvidePlugin({
                jQuery: "jquery",
                $: "jquery"
            })
        ]
    }
}